Blueprint-driven environment template creation in a virtual infrastructure

ABSTRACT

A system for blueprint-driven environment template creation in a virtual infrastructure comprises a processor and a memory. The processor is configured to receive a blueprint, receive an environment template configuration, and build an environment template using the blueprint and the environment template configuration. The environment template is for provisioning an environment. The environment is for deploying an application. The memory is coupled to the processor and is configured to provide the processor with instructions.

CROSS REFERENCE TO OTHER APPLICATIONS

This application is a continuation of co-pending U.S. patent applicationSer. No. 13/538,392, entitled BLUEPRINT-DRIVEN ENVIRONMENT TEMPLATECREATION IN A VIRTUAL INFRASTRUCTURE filed Jun. 29, 2012 which isincorporated herein by reference for all purposes.

BACKGROUND OF THE INVENTION

Large organizations need to do a great deal of electronic recordkeeping, utilizing large and complex systems, requiring extensivehardware and software infrastructure. Example systems include auniversity system for tracking applications and enrolled studenthistories, an insurance company system for tracking clients andinsurance claims, or a police department system for tracking informationrelevant to active cases and to individual criminal histories. Each ofthese systems may be used by many people simultaneously, possibly spreadacross a large physical area, and need to track a large number ofdocuments across a long period of time. Each system additionallyrequires specific software to serve the needs of the organizationeffectively. When a large organization commissions a new system of thistype, typically a group of application design, system administrator, andsystem architecture experts is brought in to design the software and theinfrastructure (e.g., the hardware on which the software runs), and thento scale the system into production use. Designing the infrastructure isa complex task, and depends on the needs of the organization in manyways. Each resulting system is different, causing it to take a greatdeal of time to thoroughly build and test new systems. When problemsoccur and software support becomes involved, it may take a significanteffort even to communicate the relevant details of the infrastructuresetup so troubleshooting can begin.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of the invention are disclosed in the followingdetailed description and the accompanying drawings.

FIG. 1 is a block diagram illustrating an embodiment of a networksystem.

FIG. 2 is a block diagram illustrating a set of softwaretransformations.

FIG. 3 is a diagram illustrating an embodiment of a blueprint.

FIG. 4 is a block diagram illustrating an embodiment of an environmenttemplate.

FIG. 5 is a block diagram illustrating an embodiment of a virtualenvironment.

FIG. 6 is a flow diagram illustrating an embodiment of a process forbuilding an environment template.

FIG. 7 is a flow diagram illustrating an embodiment of a process forprovisioning an environment.

FIG. 8 is a flow diagram illustrating an embodiment of a process fordeploying an application.

FIG. 9 is a flow diagram illustrating an embodiment of a process forblueprint-driven environment template creation in a virtualinfrastructure.

FIG. 10 is a flow diagram illustrating an embodiment of a process forautomated provisioning of heterogeneous virtual environments.

FIG. 11 is a flow diagram illustrating an embodiment of a process forrecipe and blueprint-driven automated application deployment.

DETAILED DESCRIPTION

The invention can be implemented in numerous ways, including as aprocess; an apparatus; a system; a composition of matter; a computerprogram product embodied on a computer readable storage medium; and/or aprocessor, such as a processor configured to execute instructions storedon and/or provided by a memory coupled to the processor. In thisspecification, these implementations, or any other form that theinvention may take, may be referred to as techniques. In general, theorder of the steps of disclosed processes may be altered within thescope of the invention. Unless stated otherwise, a component such as aprocessor or a memory described as being configured to perform a taskmay be implemented as a general component that is temporarily configuredto perform the task at a given time or a specific component that ismanufactured to perform the task. As used herein, the term ‘processor’refers to one or more devices, circuits, and/or processing coresconfigured to process data, such as computer program instructions.

A detailed description of one or more embodiments of the invention isprovided below along with accompanying figures that illustrate theprinciples of the invention. The invention is described in connectionwith such embodiments, but the invention is not limited to anyembodiment. The scope of the invention is limited only by the claims andthe invention encompasses numerous alternatives, modifications andequivalents. Numerous specific details are set forth in the followingdescription in order to provide a thorough understanding of theinvention. These details are provided for the purpose of example and theinvention may be practiced according to the claims without some or allof these specific details. For the purpose of clarity, technicalmaterial that is known in the technical fields related to the inventionhas not been described in detail so that the invention is notunnecessarily obscured.

Blueprint-driven environment template construction in a virtualinfrastructure is disclosed. A system for blueprint-driven environmenttemplate creation in a virtual infrastructure comprises a processorconfigured to receive a blueprint; receive an environment templateconfiguration; and build an environment template using the blueprint andthe environment template configuration, wherein the environment templateis for provisioning an environment, and wherein the environment is forrunning a deployed application. The system for blueprint-drivenenvironment template creation in a virtual infrastructure additionallycomprises a memory coupled to the processor and configured to providethe processor with instructions.

Environment-driven application deployment in a virtual infrastructure isdisclosed. The system for recipe and blueprint-driven automatedapplication deployment comprises a processor configured to receive anenvironment, wherein the environment is provisioned using an environmenttemplate, and wherein the environment template is built using ablueprint; receive an application package, wherein the applicationpackage comprises an application artifacts and configuration; and deployan application using the environment and the application package. Thesystem for recipe and blueprint-driven automated application deploymentadditionally comprises memory coupled to the processor and configured toprovide the processor with instructions.

Environment template-driven environment provisioning in a virtualinfrastructure is disclosed. A system for automated provisioning ofheterogeneous virtual environments comprises a processor configured toreceive an environment template, wherein the environment template isbuilt using a blueprint; receive an environment configuration, whereinthe environment configuration comprises environment sizing values andone or more environment endpoints, and provision an environment usingthe environment template and the environment configuration, wherein theenvironment is for running a deployed application. A system forautomated provisioning of heterogeneous virtual environmentsadditionally comprises a memory coupled to the processor and configuredto provide the processor with instructions.

In some embodiments, when a hardware infrastructure for a suite ofdocument management software is created, the first step is to procure aset of server computers. Different choices in number, type, orconfiguration of server computers led to implementation differences andpossible problems. It is not feasible to specify a standard hardwareconfiguration due to the different needs of different users and thecontinually shifting hardware market. When working with a virtualinfrastructure, however, the situation changes. In a virtualinfrastructure, computing resources are supplied by a computing hostabstraction layer and requested by the application administrators.Physical hardware is no longer the concern of the applicationadministrators, they simply request new machines and they are supplied.Two new machines requested under the same set of specifications areguaranteed to perform identically. A supplier of a runtime softwareframework can thus issue guidelines comprising recommendationsdescribing the number and configuration of virtual machines necessaryfor a given application. Several sets of guidelines can be published,covering the needs of differently sized clients, and the guidelines canbe customized to meet the specific needs of each client without losingthe basic consistency of the infrastructure. When the client requestsresources according to the guidelines the infrastructure will behave ina well-understood manner.

In some embodiments, a process for creating a new virtual environmentbegins with a blueprint. The blueprint is a document issued by asupplier of a software framework that describes aspects of the virtualenvironment. It allows creation of the virtual environment to beautomated, reducing setup costs, and ensures that there is a basic levelof consistency between virtual environments, reducing maintenance costs.In some embodiments, a blueprint comprises a computer-readable markupdocument (e.g., an XML document) that can be processed directly bysoftware. The blueprint includes information describing the number ofvirtual machines to create, virtual machine configuration instructions,virtual machine cluster settings (e.g., whether to use virtual machineclusters, default, maximum and minimum number of virtual machines foreach cluster, etc.), network connectivity settings of the virtualmachines (e.g., IP address settings, port settings, administratorsettings, hostname settings, etc.), what software to install on thevirtual machines, software configuration instructions, serverfunctionality (e.g., which virtual servers perform which functions), orany other appropriate environment information. After the blueprint isreceived from the software framework supplier, it may be altered beforeit is further processed. For example, the blueprint may be altered toremove unneeded functionality, to increase the size or number of virtualmachines used, to remove virtual machine clustering, or for any otherappropriate reason. After the blueprint is downloaded and modified asdesired, it is processed by software created by the software supplier tobuild the foundation of the virtual environment called an environmenttemplate. Building an environment template comprises following the rulesdictated in the blueprint to instantiate a set of virtual machines,configure them, install software on them, and persist the resultingvirtual machines as a single manageable unit used to subsequentlyprovision one or more environments.

The process of building an environment template from a blueprintcomprises receiving an environment template configuration. In someembodiments, an environment template configuration comprises a set ofconfigurations to be applied to the environment template buildingprocess. In various embodiments, an environment template configurationconfigures a list of virtual machine clusters into which software willbe installed, a default resource allocation to each virtual machine, adefault initial number of virtual machines in a virtual machine cluster,a default minimum number of virtual machines in a virtual machinecluster, a default maximum number of virtual machines in a virtualmachine cluster, what software is installed onto virtual machines in avirtual machine cluster, binding of application services to virtualmachines in a virtual machine cluster, which virtual machine services ina virtual machine cluster depend on systems outside the virtual machinecluster, the operating system on each virtual machine in a virtualmachine cluster, or any other appropriate environment templateparameters.

In some embodiments, virtual machines instantiated in the environmenttemplate are based on a default virtual machine template that isprocessed along with the blueprint. A default virtual machine templateis created with an operating system and any other desired modulesinstalled in order to meet the specifications of the organization. Forinstance, an organization might require a specific version of Windows,specific third-party antivirus software, or a specific set ofconfigurations to be made. Creation of the environment template from theblueprint and the default virtual machine template causes the defaultvirtual machine template to be instantiated as many times as isrequested in the blueprint. The set of virtual machines is stored aspart of the created environment template. Organizations are then able toensure that all virtual machines used in the instantiated environmentsmeet their specifications.

In some embodiments, the environment template comprises a virtualapplication including all of the requested virtual machines withsoftware installed according to the blueprint instructions. It is notyet a running virtual environment but a clean environment build that canbe replicated onto cloud computing hardware one or more times to createfunctioning virtual environments in which to work. For example, anorganization operating across multiple sites can use a singleenvironment template to ensure that the infrastructures for thedifferent sites are identical. A typical development process for anapplication includes three environment templates created to streamlinethe application scaling process. A first environment template comprisesa minimal install for use by application developers without consumptionof unnecessary resources. A second environment template comprises abasic install for application testing purposes as development proceeds.A third environment template comprises a full production install forrunning the application under a full load. Building the environmenttemplates beforehand allows infrastructure scaling to proceed in a knownway not subject to the variables associated with acquiring hardware.

In some embodiments, provisioning of an environment comprisesinstantiation of an environment template into a functioninginfrastructure. In some embodiments, software created by the softwaresupplier is used for provisioning of an environment. An initial step ofthe provisioning process is instantiation of a content repository, e.g.,a server for storing various forms of documents and media. In someembodiments, the content repository is not included as part of theblueprint and environment template because each content repository needsto be instantiated with a unique repository identifier. For instance, ifthe content repository were included in the environment template itwould be cloned for each provisioning of the environment template,causing the identifier of each document repository to be identical andleading to software errors if the environment template were provisionedmore than once.

In some embodiments, when provisioning continues, each virtual machineis installed on a virtual hardware module supplied by the computinghost. The virtual machines are then configured to network with oneanother and with the content repository. This process includesconfiguration of specific virtual machines to host specific pieces ofsoftware (e.g., one machine hosts the content server software, onemachine hosts the content search engine software, one machine hosts thecontent transformation software, etc.) and configuration of each virtualmachine with information describing which virtual machine to contact foreach piece of functionality. Each provisioning operation made is loggedinto a runtime log file stored as part of the system. This log filecaptures the entire state of the virtual infrastructure as installed,and can be analyzed by a system administrator as part of atroubleshooting process should there be a later problem with the system.System monitoring software can be automatically installed and configuredon each virtual machine as part of the provisioning process, in order tocapture the state of the infrastructure as time proceeds and providefurther information to the system administrator.

In some embodiments, the process of provisioning an environment from anenvironment template comprises receiving an environment configuration.In some embodiments, an environment configuration comprises a set ofconfigurations to be applied to the environment provisioning process. Invarious embodiments, the environment configuration configures theenvironment template, environment-specific software values, virtualmachine cluster sizes, connections from virtual machines in a virtualmachine cluster to systems outside the virtual machine cluster, virtualmachine accounts, or any other appropriate environment parameters.

In some embodiments, after an environment has been provisioned, asoftware application developer can begin to develop a softwareapplication specific to the organization. A software applicationtypically requires numerous modifications to be made to the environment.Software artifacts are left on the content repository and on the variousvirtual machines enabling the software application to take fulladvantage of the virtual infrastructure. When the software applicationis complete, it is wrapped by the software application developer into anapplication package, including all of the appropriate softwareartifacts. The application package can then be deployed by a systemadministrator onto one or more provisioned environments. In someembodiments, software created by the software supplier is used fordeploying an application package. When an application package isdeployed, software artifacts located in the application package areplaced by the deployment software into their appropriate locations inthe environment. The deployment software is able to perform this taskeffectively, even if the target environment is different from theoriginal one (e.g., different environments used for development,testing, and production) because the environments were provisioned fromenvironment templates built from blueprints. All aspects of theenvironment are kept consistent as the scale is increased, allowing thesoftware to accurately place software artifacts throughout theenvironment as the application is deployed.

In some embodiments, the process of deploying an application into anenvironment includes receiving an application configuration. In someembodiments, an application configuration comprises a set ofconfigurations to be applied to the application deployment process. Invarious embodiments, the application configuration configuresconnections from applications running on virtual machines in a virtualmachine cluster to systems outside the virtual machine cluster, theapplication package to deploy, the target deployment environment,application parameter values, or any other appropriate applicationparameters.

In some embodiments, application parameters comprise parameters that canbe specified for an application when deploying the application. Forexample, in the event that the application is a loan approvalapplication where the application has a parameter value for a jumboloan. The application can be deployed with a specified jumbo loan valueas part of an application configuration.

In some embodiments, an important aspect to creation of a system in anenvironment is the ability to connect system elements with externalelements. In some embodiments, an environment endpoint comprisesinformation to connect system elements to an external element or theexternal element that the system element is to connect to. In someembodiments, an important aspect to creation of an application in anenvironment is the ability to connect the application with externalelements. In some embodiments, an application endpoint comprisesinformation to connect an application to an external element or theexternal element that the application is to connect to.

FIG. 1 is a block diagram illustrating an embodiment of a networksystem. In some embodiments, the system of FIG. 1 comprises a networksystem for blueprint-driven environment template creation in a virtualinfrastructure. In some embodiments, the system of FIG. 1 comprises anetwork system for recipe and blueprint-driven automated applicationdeployment. In some embodiments, the system of FIG. 1 comprises anetwork system for automated provisioning of heterogeneous virtualenvironments. In the example shown, FIG. 1 comprises network 100. Invarious embodiments, network 100 comprises one or more of the following:a local area network, a wide area network, a wired network, a wirelessnetwork, the Internet, or any other appropriate network. Enterprisesoftware vendor 102, enterprise software client 104, and virtualcomputing host 106 communicate via network 100. Enterprise softwarevendor 102 comprises an enterprise software vendor providing enterprisesoftware, e.g., to enterprise software client 104. In some embodiments,enterprise software vendor 102 provides a enterprise software framework,e.g., a system within which enterprise software applications can beefficiently created. In some embodiments, enterprise software vendor 102provides a enterprise software framework executing on computers owned byenterprise software client 104. In some embodiments, enterprise softwarevendor provides a enterprise software framework executing on virtualcomputers hosted by virtual computing host 106. In some embodiments,enterprise software vendor 102 provides recommendations regarding theinstantiation of virtual computers hosted by virtual computing host 106.In some embodiments, enterprise software vendor 102 provides a blueprintdictating the virtual computers to be hosted by virtual computing host106 for a given application or application type. In some embodiments, ablueprint provided by enterprise software vendor 102 is processed byenterprise software client 104 to create an environment template. Insome embodiments, an environment template created by enterprise softwareclient 104 is installed on virtual computing host 106 to create avirtual environment for running an enterprise application.

In some embodiments, enterprise software client 104 comprises a clientfor an enterprise software application. In some embodiments, enterprisesoftware client 104 comprises a client for a custom enterprise softwareapplication. In some embodiments, enterprise software client 104utilizes a enterprise software application provided by enterprisesoftware vendor 102 and installed in a virtual environment hosted byvirtual computing host 106. In some embodiments, virtual computing host106 comprises virtual computing hardware owned by enterprise softwareclient 104. In some embodiments, virtual computing host 106 comprisesvirtual computing hardware owned by enterprise software vendor 102. Insome embodiments, virtual computing host 106 comprises virtual computinghardware owned by an external virtual computing host, e.g., in thecloud.

FIG. 2 is a block diagram illustrating a set of softwaretransformations. In some embodiments, the software transformations ofFIG. 2 are performed by software provided by enterprise software vendor102 of FIG. 1, executed by enterprise software client 104 of FIG. 1 tocreate a virtual environment on virtual computing host 106 of FIG. 1. Inthe example shown, build 202 uses blueprint 200 to create environmenttemplate 206. The blueprint comprises a set of system details for agiven kind of environment, e.g., software components intended to run inthe environment, virtual machines needed to run all software components,the allocation or binding of software components to virtual machines,default memory and central processing unit (CPU) sizing of virtualmachines, and default sizing of virtual machine clusters. In someembodiments, these details will differ between or across different kindsof environments (for example, development environments, testenvironments, staging environments, production environments, or anyother appropriate kind of environments). The environment template isderived from the blueprint and comprises a set of instantiated virtualmachines each with software components installed per the rules dictatedin the blueprint. The environment template serves as the foundation forsubsequently provisioned environments. In some embodiments, blueprint200 is received from an enterprise software vendor. In some embodiments,building environment template 206 comprises building and configuring aset of virtual machines based on instructions in blueprint 200. In someembodiments, the process of building environment template 206 isaffected by environment template configuration 204. In some embodiments,the enterprise software client provides environment templateconfiguration 204 to customize the process of building environmenttemplate 206. In the example shown, provision 208 installs environmenttemplate 206 to create environment 212. The environment comprises a setof virtual machines instantiated from the environment template, and theset of virtual machines comprising all software services required to runa deployed application. In some embodiments, provisioning environment212 comprises installing the virtual machines comprising environmenttemplate 206 on a virtual computing host. In some embodiments, theprocess of provisioning environment 212 is affected by environmentconfiguration 210. In some embodiments, the enterprise software clientprovides environment template configuration 210 to customize the processof provisioning environment 212. In the example shown, deploy 214installs application package 218 onto environment 212 to createenterprise software application 220. In some embodiments, deployingenterprise software application 220 comprises installing applicationpackage 218 onto the virtual machines comprising environment 212. Insome embodiments, the process of deploying enterprise softwareapplication 220 is affected by application configuration 216. In someembodiments, the enterprise software client provides applicationconfiguration 216 to customize the process of deploying enterprisesoftware application 220. The enterprise software application comprisesa set of runtime computer program artifacts orchestrated and executed onan ongoing basis to address a particular set of customer requirements.

FIG. 3 is a diagram illustrating an embodiment of a blueprint. In someembodiments, blueprint 300 is received by enterprise software client 104of FIG. 1 from enterprise software vendor 102 of FIG. 1 for describing avirtual environment eventually to be instantiated on virtual computinghost 106 of FIG. 1. In some embodiments, blueprint 300 comprisesblueprint 200 of FIG. 2. In some embodiments, blueprint 300 comprises adescription of a virtual environment for an enterprise application. Insome embodiments, blueprint 300 is used to build an environmenttemplate. In some embodiments, blueprint 300 comprises the input to asoftware program used to build an environment template.

In the example shown, blueprint 300 comprises a text description. Invarious embodiments, blueprint 300 comprises a text file, an extensiblemarkup language (XML) file, a shell script, code to be interpreted(e.g., perl code, ruby code, python code, etc.), code to be compiled(e.g., C code, C++ code, java™ code, etc.), compiled machine code, anexecutable binary file, or any other appropriate kind of file. In someembodiments, blueprint 300 is modifiable by a user. In the exampleshown, blueprint 300 comprises a set of descriptions of computingresources and computing services. Blueprint 300 describes computingresources comprising two virtual machine clusters, a cluster namedRepositoryVM and a cluster named SearchVM. In some embodiments,computing resources comprise virtual machine clusters, e.g., groups ofvirtual machines that can change size to adapt to changing demand. Invarious embodiments, a description of a virtual machine clustercomprises a maximum number of virtual machines, a minimum number ofvirtual machines, a default number of virtual machines, a number ofCPUs, a quantity of memory, a virtual machine template, or any otherappropriate cluster description. In various embodiments, computingresources comprise virtual data centers, virtual servers, individualvirtual machines, virtual machine clusters, or any other appropriatecomputing resources. Blueprint 300 describes computing servicescomprising a service called RepositoryService. In various embodiments,computing services comprise RepositoryService (e.g., a storage service),SearchService (e.g., a search service), AppHostService (e.g., anapplication hosting service), BamService (e.g., business activitymonitoring service), MobileService (e.g., a mobile device interactionservice, a cell phone network interaction service), DaService (e.g.,directory assistance service), CisService (e.g., content intelligenceservice), CtsService (e.g., content transformation service), BpsService(e.g., business process service), or any other appropriate service type.In the example shown, the RepositoryService description comprises acluster name, a service type, an endpoint name and type, a componentname and type, and two component properties with associated values. Invarious embodiments, a service description includes a service name, acomputing resource (e.g., a cluster, server, virtual machine, etc.)associated with the service, a service type, a service type version, anendpoint name, an endpoint type, a component name, a component type, acomponent property value, a dependency name, a dependency localendpoint, a dependency endpoint type, an operating system type, or anyother appropriate service description.

FIG. 4 is a block diagram illustrating an embodiment of an environmenttemplate. In some embodiments, environment template 400 is built byenterprise software client 104 of FIG. 1 from a blueprint received fromenterprise software vendor 102 of FIG. 1 for describing a virtualenvironment eventually to be provisioned on virtual computing host 106of FIG. 1. In some embodiments, environment template 400 comprisestemplate 206 of FIG. 2. In some embodiments, environment template 400 isbuilt from a blueprint (e.g., blueprint 300 of FIG. 3). In someembodiments, environment template 400 is built by a software programusing a blueprint as input. In some embodiments, a software program usedfor building environment template 400 from a blueprint additionallyreceives a default virtual machine template as input. In someembodiments, a software program used for building environment template400 from a blueprint additionally receives an environment templateconfiguration as input.

In some embodiments, the template configuration includes only twothings: which blueprint to use and the name that will be applied to thetemplate about to be created. In some embodiments, the blueprintcomprises a set of configurations to be applied to the environmenttemplate building process. In various embodiments, a blueprintconfigures a list of virtual machine clusters into which software willbe installed, a default resource allocation to each virtual machine, adefault initial number of virtual machines in a virtual machine cluster,a default minimum number of virtual machines in a virtual machinecluster, a default maximum number of virtual machines in a virtualmachine cluster, what software is installed onto virtual machines in avirtual machine cluster, binding of application services to virtualmachines in a virtual machine cluster, which virtual machine services ina virtual machine cluster depend on systems outside the virtual machinecluster, the operating system on each virtual machine in a virtualmachine cluster, or any other appropriate environment templateparameters.

In some embodiments, environment template 400 is used to provision anenvironment. In some embodiments, environment template 400 comprises theinput to a software program used to provision an environment. In someembodiments, environment template 400 comprises a computer file. Invarious embodiments, environment template 400 comprises virtual machineinstantiations, virtual machine cluster instantiations, virtual machineserver instantiations, virtual machine data center instantiations, orany other appropriate virtual machine instantiations. Virtual machinescomprising environment template 400 additionally comprise installedsoftware. In various embodiments, virtual machines comprisingenvironment template 400 comprise installed application software,installed operating system software, installed database software,installed drivers, installed communications modules, installedconfigurations, installed virtual hardware, or any other appropriateinstalled software. Virtual machines comprising environment template 400additionally comprise service configurations. In some embodiments, aservice configuration comprises an indication of service functionalityof a virtual machine. In various embodiments, service configurationscomprise repository service configurations, search serviceconfigurations, application host service configurations, mobile serverservice configurations, business activity monitoring serviceconfigurations, administrative service configurations, contentintelligence service configurations, content transformation serviceconfigurations, business process integration service configurations, orany other appropriate service configurations. In various embodiments,virtual machines comprising environment template 400 compriserandom-access memory (RAM) configurations, storage configurations,network hardware configurations, CPU configurations, clusterconfigurations, or any other appropriate configurations.

In the example shown, environment template 400 comprises repositoryvirtual machine cluster 402, search virtual machine cluster 404,application host virtual machine 406, and mobile server virtual machine408. Repository virtual machine cluster 402 comprises a virtual machinecluster configured as a repository service. Search virtual machinecluster 404 comprises a virtual machine cluster configured as a searchservice. Application host virtual machine 406 comprises a virtualmachine configured as an application host service. Mobile server virtualmachine 408 comprises a virtual machine configured as a mobile serverservice.

FIG. 5 is a block diagram illustrating an embodiment of a virtualenvironment. In some embodiments, environment 500 is instantiated onvirtual computing host 106 of FIG. 2 from an environment template builtby enterprise software client 104 of FIG. 2 from a blueprint receivedfrom enterprise software vendor 102 of FIG. 2. In some embodiments,environment 500 comprises environment 212 of FIG. 2. In someembodiments, environment 500 comprises a virtual environment for anapplication. A virtual environment for an application comprises one ormore virtual computing resources (virtual machines, virtual machineclusters, virtual machine servers, virtual machine data centers, etc.),each comprising installed software and configurations. In someembodiments, a virtual environment for an application comprises acontent repository service. In various embodiments, a virtualenvironment for an application comprises a search service, anadministrative service, a business activity monitoring service, aprocess engine service, a content transformation service, or any otherappropriate services required by the application.

In some embodiments, environment 500 is provisioned from an environmenttemplate. In some embodiments, environment 500 is provisioned by asoftware program using an environment template as input. In someembodiments, a software program used for provisioning environment 500from an environment template additionally receives an environmentconfiguration as input. In various embodiments, the environmentconfiguration configures the provisioned environment,environment-specific software values, virtual machine cluster sizes,connections from virtual machines in a virtual machine cluster tosystems outside the virtual machine cluster, virtual machine accounts,or any other appropriate environment parameters. In some embodiments, anapplication is deployed on environment 500.

Provisioning environment 500 from an environment template comprisesgeneration of virtual hardware by a virtual computing host andinstantiation of each of the virtual machines comprised by theenvironment template onto the virtual hardware. In some embodiments,provisioning environment 500 additionally comprises creation of acontent repository, including a repository identifier. Provisioningenvironment 500 additionally comprises instantiating internetworkingconnections among the virtual machines and the content repository. Insome embodiments, provisioning environment 500 additionally comprisesinstalling internetworking connections between virtual machinescomprising environment 500 and computers external to environment 500. Insome embodiments, provisioning environment 500 additionally comprisesconfiguring virtual machines comprising environment 500. In someembodiments, provisioning environment 500 additionally comprisesinstalling system monitoring software. In some embodiments, provisioningenvironment 500 additionally comprises writing a list of operations to aprovisioning log. An environment endpoint comprises information neededfor services in a given environment to interact with systems external tothe environment. In various embodiments environment endpoints includeinformation related to external database systems, applications, emailsystems, directory servers, web services, or any other appropriateexternal systems.

In the example shown, environment 500 comprises internetworking 502. Insome embodiments, internetworking 502 allows the elements of environment500 to communicate with one another. Environment 500 additionallycomprises search virtual machine cluster 504. In some embodiments,search virtual machine cluster 504 comprises a virtual machine clusterincluding document searching software. Environment 500 additionallycomprises repository virtual machine cluster 506. In some embodiments,repository virtual machine cluster 506 comprises a virtual machinecluster including repository access software. Environment 500additionally comprises application host virtual machine 508. In someembodiments, application host virtual machine 508 comprises a virtualmachine including application host software. Environment 500additionally comprises mobile server virtual machine 510. In someembodiments, mobile server virtual machine 510 comprises a virtualmachine including mobile server software. Environment 500 additionallycomprises content repository 512. In some embodiments, contentrepository 512 comprises a data structure and service for storingcontent accessed by an application. In some embodiments, contentrepository 512 comprises a virtual machine. In some embodiments, contentrepository 512 comprises a data structure and service stored on a sharedvirtual machine (e.g., repository virtual machine cluster 506,application host virtual machine 508, or any other appropriate virtualmachine). In some embodiments, environment 500 additionally communicateswith external computers. In the example shown, environment 500communicates with database server 514. In some embodiments, databaseserver 514 comprises a database server for physical storage of contentmetadata (e.g., the content stored in content repository 512). In theexample shown, environment 500 communicates with Lightweight DirectoryAccess Protocol (LDAP) server 516. In some embodiments, LDAP servercomprises an LDAP server for serving directory access requests. In theexample shown, environment 500 communicates with email server 518. Insome embodiments, email server comprises an email server for sending andreceiving email (e.g., to other locations on the Internet). In theexample shown, environment 500 communicates with print server 520. Insome embodiments, print server 520 comprises a print server for printingdocuments.

In some embodiments, an application is deployed on environment 500. Insome embodiments, deploying an application on environment 500 comprisesinstalling an application on application host virtual machine 508. Insome embodiments, deploying an application on environment 500 comprisesinstalling software or configurations on repository virtual machinecluster 506 for interacting with an application executing on applicationhost virtual machine 508. In various embodiments, deploying anapplication on environment 500 comprises installing software orconfigurations on one or more of search virtual machine cluster 504,repository virtual machine cluster 506, application host virtual machine508, mobile server virtual machine 510, document repository 512, or anyother appropriate virtual computing device of environment 500. In someembodiments, deploying an application on environment 500 comprisesinstalling software and configurations on one or more virtual computingdevices that interact with one another to achieve the desiredapplication functionality. In some embodiments, deploying an applicationon environment 500 comprises installing software and configurations onone or more virtual computing devices that interact with servicesinstalled on the virtual computing devices (e.g., search service,repository service, application host service, etc.).

In some embodiments, an application is deployed from an applicationpackage onto environment 500. In some embodiments, an applicationpackage comprises a set of software and configurations to be installedonto one or more virtual machines. In some embodiments, an applicationis deployed onto environment 500 by a software program using anapplication package as input. In some embodiments, an applicationpackage is deployed using the same software program used to provisionenvironment 500. In some embodiments, an application package is deployedusing the same software program used to build an environment templateused to provision environment 500. In some embodiments, a softwareprogram is able to deploy an application onto environment 500 because ithas a standard configuration, e.g., because environment 500 wasprovisioned from an environment template by a software program. In someembodiments, a software program used for deploying an application ontoenvironment 500 from an application package additionally receives anapplication configuration as input. In some embodiments, an applicationconfiguration comprises a set of configurations to be applied to theapplication deployment process. In various embodiments, the applicationconfiguration configures connections from applications running onvirtual machines in a virtual machine cluster to systems outside thevirtual machine cluster, the application package to deploy, the targetdeployment environment, application parameter values, or any otherappropriate application parameters.

An application endpoint comprises information needed for applicationsrunning in a given environment to interact with systems external to theenvironment. In various embodiments application endpoints compriseinformation related to external database systems, applications, emailsystems, directory servers, web services, or any other appropriateexternal systems or services.

FIG. 6 is a flow diagram illustrating an embodiment of a process forbuilding an environment template. In some embodiments, the process ofFIG. 6 implements build 202 of FIG. 2. In the example shown, in 600, ablueprint is received. In some embodiments, a blueprint is received byan enterprise software client from an enterprise software vendor. In602, the blueprint is verified. In 604, an environment templateconfiguration is received. In some embodiments, an environment templateconfiguration comprises the identity of a blueprint needed to build thetemplate and other template-specific parameter values. In variousembodiments, an environment template configuration specifies a blueprintto consume which configures a list of virtual machine clusters intowhich software will be installed, a default resource allocation to eachvirtual machine, a default initial number of virtual machines in avirtual machine cluster, a default minimum number of virtual machines ina virtual machine cluster, a default maximum number of virtual machinesin a virtual machine cluster, what software is installed onto virtualmachines in a virtual machine cluster, binding of application servicesto virtual machines in a virtual machine cluster, which virtual machineservices in a virtual machine cluster depend on systems outside thevirtual machine cluster, the operating system on each virtual machine ina virtual machine cluster, or any other appropriate environment templateparameters. In 606, the environment template configuration is applied.In some embodiments, applying the environment template configurationcomprises applying a set of changes to properly consume the blueprint.

In 608 a virtual machine is created. In some embodiments, a virtualmachine is created as specified in the blueprint. In 610 a virtualmachine is configured. In some embodiments, a virtual machine isconfigured as specified in the blueprint. In 612 it is determinedwhether there are more virtual machines in the blueprint. If there aremore virtual machines in the blueprint, control passes to 608. If thereare not more virtual machines in the blueprint, control passes to 614.In 614, software is found. In some embodiments, software is found asspecified in the blueprint. In various embodiments, finding softwarecomprises downloading software from a remote server, downloadingsoftware from an enterprise software vendor, locating software on alocal network, or locating software in any other appropriate location.In 616, software is installed. In some embodiments, software isinstalled as specified in the blueprint. In some embodiments, softwareis installed on a virtual machine created in 608. In 618 it isdetermined whether there is more software in the blueprint. If there ismore software in the blueprint, control passes to 614. If there is notmore software in the blueprint, control passes to 620. In 620, theenvironment template is stored. In some embodiments, storing theenvironment template comprises storing the virtual machines (e.g., thevirtual machines created in 608).

FIG. 7 is a flow diagram illustrating an embodiment of a process forprovisioning an environment. In some embodiments, the process of FIG. 7implements provision 208 of FIG. 2. In the example shown, in 700, anenvironment template is received. In 702, the environment template isverified. In 704, an environment configuration is received. In someembodiments, an environment configuration comprises a set ofinstructions for configuring the environment. In some embodiments, theenvironment configuration specifies the required environment template.In various embodiments, the environment configuration configuresenvironment-specific software values, virtual machine cluster sizes,connections from virtual machines in a virtual machine cluster tosystems outside the virtual machine cluster, virtual machine accounts,or any other appropriate environment parameters.

In 706, a content repository identifier (ID) is created. In someembodiments, a content repository ID must be unique (e.g., every contentrepository has a different content repository ID). In 708, service portsare specified. In some embodiments, service ports comprise ports onwhich network communications are configured to take place. In 710,service endpoints are specified. In some embodiments, service endpointscomprise network locations of external services (e.g., a database servernetwork location, a print server network location, etc.). In 712, theenvironment is provisioned. In some embodiments, provisioning theenvironment comprises requesting virtual hosting space from a virtualcomputing host. In 714, virtual machines are cloned. In someembodiments, virtual machines are cloned from the environment templateto virtual machines comprising the environment. In 716, virtual machinesare configured. In various embodiments, virtual machine ports areconfigured, virtual machine endpoints are configured, virtual machinenetworking is configured, virtual machine software is configured, or anyother appropriate virtual machine configuration is performed. In 718, acontent repository is created. In some embodiments, the contentrepository is created with the content repository ID created in 706. In720, monitoring software is installed. In 722, monitoring software isconfigured.

FIG. 8 is a flow diagram illustrating an embodiment of a process fordeploying an application. In some embodiments, the process of FIG. 8implements deploy 214 of FIG. 2. In the example shown, in 800, anapplication package is received. In 802, the application package isverified. In 804, an application configuration is received. In someembodiments, an application configuration comprises a set ofconfigurations to be applied to the application deployment process. Invarious embodiments, the application configuration configuresconnections from applications running on virtual machines in a virtualmachine cluster to systems outside the virtual machine cluster, theapplication package to deploy, the target deployment environment,application parameter values, or any other appropriate applicationparameters. In 806, the environment is configured (e.g., according tothe application configuration). In 808, the application package isconfigured (e.g., according to the application configuration). In 810,application software is installed. In various embodiments, applicationsoftware is installed on one or more virtual machines. In 812,application configurations are installed. In various embodiments,application configurations are installed on one or more virtualmachines.

FIG. 9 is a flow diagram illustrating an embodiment of a process forblueprint-driven environment template creation in a virtualinfrastructure. In 900, a blueprint is received. In 902, an environmenttemplate configuration is received. In 904, an environment template isbuilt using the blueprint and the environment template configuration,wherein the environment template is for provisioning an application, andwherein the environment is for deploying an application.

FIG. 10 is a flow diagram illustrating an embodiment of a process forautomated provisioning of heterogeneous virtual environments. In 1000,an environment template is received. In 1002, an environmentconfiguration is received. In 1004, an environment is provisioned usingthe environment and the environment configuration, wherein theenvironment is for deploying an application.

FIG. 11 is a flow diagram illustrating an embodiment of a process forrecipe and blueprint-driven automated application deployment. In 1100,an environment is received. In 1102, an application configuration isreceived. In 1104, an application is deployed using the environment andthe application configuration.

Although the foregoing embodiments have been described in some detailfor purposes of clarity of understanding, the invention is not limitedto the details provided. There are many alternative ways of implementingthe invention. The disclosed embodiments are illustrative and notrestrictive.

What is claimed is:
 1. A system for blueprint-driven environmenttemplate creation in a virtual infrastructure, comprising: an interfaceconfigured to: receive a blueprint; and receive an environment templateconfiguration; and a processor configured to: build an environmenttemplate using the blueprint and the environment template configuration,wherein the environment template comprises a set of configurations to beapplied to an environment template building process; and provision anenvironment using the environment template, wherein the environment isfor deploying an application; and a memory coupled to the processor andconfigured to provide the processor with instructions.
 2. A system as inclaim 1, wherein the blueprint configures a list of virtual machineclusters into which software will be installed.
 3. A system as in claim1, wherein the blueprint configures a default resource allocation toeach virtual machine.
 4. A system as in claim 1, wherein the blueprintconfigures a default initial number of virtual machines in a virtualmachine cluster.
 5. A system as in claim 1, wherein the blueprintconfigures a default minimum number of virtual machines in a virtualmachine cluster.
 6. A system as in claim 1, wherein the blueprintconfigures a default maximum number of virtual machines in a virtualmachine cluster.
 7. A system as in claim 1, wherein the blueprintconfigures what software is installed onto virtual machines in a virtualmachine cluster.
 8. A system as in claim 1, wherein the blueprintconfigures binding of application services to virtual machines in avirtual machine cluster.
 9. A system as in claim 1, wherein theblueprint configures which virtual machine services in a virtual machinecluster depend on systems outside the virtual machine cluster.
 10. Asystem as in claim 1, wherein blueprint configures the operating systemon each virtual machine in a virtual machine cluster.
 11. A system as inclaim 1, wherein the environment template comprises a minimum installfor use by application developers.
 12. A system as in claim 1, whereinthe environment template comprises a basic install for applicationtesting purposes.
 13. A system as in claim 1, wherein the environmenttemplate comprises a full install for running under a full load.
 14. Asystem as in claim 1, wherein the template configuration specifies aname of the blueprint and a name of the environment template.
 15. Asystem as in claim 1, wherein the environment template comprises a setof instantiated virtual machines each with software components installedas indicated in the blueprint.
 16. A system as in claim 1, wherein theapplication comprises a set of runtime computer program artifactsorchestrated and executed on an ongoing basis to address a particularset of customer requirements.
 17. A method for blueprint-drivenenvironment template creation in a virtual infrastructure, comprising:receiving a blueprint; receiving an environment template configuration;building, using a processor, an environment template using the blueprintand the environment template configuration, wherein the environmenttemplate comprises a set of configurations to be applied to anenvironment template building process; and, provisioning an environmentusing the environment template, wherein the environment is for deployingan application.
 18. A computer program product for blueprint-drivenenvironment template creation in a virtual infrastructure, the computerprogram product being embodied in a non-transitory computer readablestorage medium and comprising computer instructions for: receiving ablueprint; receiving an environment template configuration; andbuilding, using a processor, an environment template using the blueprintand the environment template configuration, wherein the environmenttemplate comprises a set of configurations to be applied to anenvironment template building process; and , provisioning an environmentusing the environment template, wherein the environment is for deployingan application.